package com.lxy.seata.dao;

import com.lxy.seata.entity.TOrder;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author lixinyang
 * @className: TOrderDao
 * @description: TODO
 * @date 2022/05/02日  19:32
 */

@Mapper
public interface TOrderDao {
    //创建订单
    void create(TOrder order);

    //修改订单状态
    void update(@Param("userId") Long userId, @Param("status") Integer status);
}
